package com.fand.department.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.fand.common.service.CommonService;
import com.fand.department.vo.DepartmentVo;

/**
 * 部门
 * 
 * @author haitao.yao
 */
@Controller
public class DepartmentController {
	/**
	 * 公共服务
	 */
	@Qualifier(CommonService.BEAN_ID)
	@Autowired(required = false)
	private CommonService commonService;

	/**
	 * 部门主页面
	 * 
	 * @param DepartmentVo
	 * @return 模板路径
	 */
	@RequestMapping(value = { "/department/department.htm", "/department/department/index.htm" }, method = RequestMethod.GET)
	public String departmentDepartmentindex(final DepartmentVo DepartmentVo) {
		return "department/department/index";
	}
}
